<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 500px;
            height: 500px;
            margin: 0 auto;
            border: 30px solid red;
            border-image: url('https://file.xdclass.net/xdclass/xdclass_logo.png');
            /* border-radius: 100px; */
            /* background-color: red;
            box-shadow: 10px 10px 20px #000; */
        }
    </style>
</head>

<body>
<div></div>
</body>

</html>